<!DOCTYPE html>
<html lang="cn">
  <head>
    <title>vue3 test</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="full-screen" content="yes"/>
    <meta name="browsermode" content="application"/>
    <meta name="x5-orientation" content="portrait"/>
    <meta name="x5-fullscreen" content="true"/>
    <meta name="x5-page-mode" content="app"/>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui"/>
	
  </head>
  <body>
    <div id="app" >
      {{msg}}
    </div>
    <!-- built files will be auto injected -->
   <!--  <script type="module" src ="./vue.esm-browser.js"></script> -->
    <script type="module">
    import {createApp, ref } from './vue.esm-browser.js';
    createApp({
       setup() {
            console.log('setup');
            const msg = ref("Welcome to Your Vue3"); // 初始值
            setTimeout(() => {
              msg.value = '快给我给我变' // 一秒钟以后修改msg的值
            }, 1000)
            return {
              msg
            };
       }
        
    }).mount('#app');
    
    
    </script>
    
	
  </body>
</html>
